package com.oozol.lieluyun.entity;

public class ImageTagDel {
   String repositoryName;
   String tag;

   public String getRepositoryName() {
      return this.repositoryName;
   }

   public String getTag() {
      return this.tag;
   }

   public void setRepositoryName(final String repositoryName) {
      this.repositoryName = repositoryName;
   }

   public void setTag(final String tag) {
      this.tag = tag;
   }

   public boolean equals(final Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof ImageTagDel)) {
         return false;
      } else {
         ImageTagDel other = (ImageTagDel)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            Object this$repositoryName = this.getRepositoryName();
            Object other$repositoryName = other.getRepositoryName();
            if (this$repositoryName == null) {
               if (other$repositoryName != null) {
                  return false;
               }
            } else if (!this$repositoryName.equals(other$repositoryName)) {
               return false;
            }

            Object this$tag = this.getTag();
            Object other$tag = other.getTag();
            if (this$tag == null) {
               if (other$tag != null) {
                  return false;
               }
            } else if (!this$tag.equals(other$tag)) {
               return false;
            }

            return true;
         }
      }
   }

   protected boolean canEqual(final Object other) {
      return other instanceof ImageTagDel;
   }

   public int hashCode() {
      int PRIME = 59;
      int result = 1;
      Object $repositoryName = this.getRepositoryName();
      result = result * 59 + ($repositoryName == null ? 43 : $repositoryName.hashCode());
      Object $tag = this.getTag();
      result = result * 59 + ($tag == null ? 43 : $tag.hashCode());
      return result;
   }

   public String toString() {
      return "ImageTagDel(repositoryName=" + this.getRepositoryName() + ", tag=" + this.getTag() + ")";
   }
}
